add_library(ogre_render ogre_render.cpp)
target_link_libraries(ogre_render object ${OGRE_LIB})

add_library(ogre_logger ogre_logger.cpp)
target_link_libraries(ogre_logger ${OGRE_LIB})

#copy dependencies to bin directory
if("${CMAKE_SYSTEM}" MATCHES "Windows")
  file(COPY ${OGRE_SDK_DIR}/bin/${CMAKE_BUILD_TYPE}/ DESTINATION ${EXECUTABLE_OUTPUT_PATH} FILES_MATCHING PATTERN *${CMAKE_SHARED_LIBRARY_SUFFIX})
endif()

add_library(ogre_scene_node ogre_scene_node.cpp)
target_link_libraries(ogre_scene_node ogre_render ${OGRE_LIB})
